from goods import views
from rest_framework import routers
from django.urls import path

router = routers.DefaultRouter()

router.register('brand',views.BrandView)
router.register('goods',views.GoodsView)

urlpatterns = router.urls


# urlpatterns = [
#   path('brand/',views.BrandView.as_view()),
#   path('brand/<int:pk>/',views.BrandDetail.as_view()),
#   path('goods/',views.GoodsView.as_view()),
#   path('goods/<int:pk>/',views.GoodsDetail.as_view()),
# ]
